﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CategoryModify.ascx.cs" Inherits="BackEnd_CategoryModify" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%--<div class="pannel">
    Ẩn hiện phần thêm
</div>
<div class="content">--%>
    <table class="toolbar" cellspacing="1" cellpadding="1">
        <tr>
            <td style="font-weight: bold" class="toolbar">
                <%=_Url %>
            </td>
        </tr>
        <tr>
            <td align="center" colspan="2">
                <asp:Label ID="lbMessage" runat="server" Width="100%" ForeColor="Red" Font-Bold="True"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="Modify">
                <table border="0px" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="holder">
                            Tên:
                        </td>
                        <td class="holder2">
                            <asp:TextBox ID="txtName" runat="server" CssClass="txtEL" 
                                 TextMode="MultiLine" Width="600px" Height="30px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="holder">
                            Tóm Tắt:
                        </td>
                        <td class="holder2">
                            <asp:TextBox ID="txtSummary" runat="server" CssClass="txtEL" 
                                 TextMode="MultiLine" Width="600px" Height="150px" 
                                ontextchanged="txtSummary_TextChanged"></asp:TextBox>
                        </td>
                    </tr>
                    
                    <tr>
                        <td class="holder">
                            Chưa đựng:
                        </td>
                        <td class="holder2">
                            <asp:RadioButtonList ID="rdBtn" runat="server" Width="229px" 
                            onselectedindexchanged="rdBtn_SelectedIndexChanged">
                                <asp:ListItem>Nhập phần danh mục</asp:ListItem>
                                <asp:ListItem>Nhập tin tức</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                        <%--<td class="holder2">
                        <table border="0P" cellpadding="0px" cellspacing="0px">
                            <tr>
                                <td width="80%">
                                    <asp:RadioButtonList ID="rdBtn" runat="server" Width="229px" 
                                    onselectedindexchanged="rdBtn_SelectedIndexChanged">
                                        <asp:ListItem>Nhập phần danh mục</asp:ListItem>
                                        <asp:ListItem>Nhập tin tức</asp:ListItem>
                                    </asp:RadioButtonList>
                                </td>
                                <td>
                                    <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">Nhập mô tả đầy đủ</asp:LinkButton>
                                </td>
                            </tr>
                        </table>
                            
                            
                        </td>--%>
                    </tr>
                </table>
                <div class="pannel">
                    Ẩn hiện phần nhập mô tả đầy đủ
                </div>
                <div class="content">
                    <table class="toolbar" cellspacing="1" cellpadding="1">
                        <tr>
                            <td class="holder">
                                Diễn giải:
                            </td>
                            <td class="holder2">
                                <FCKeditorV2:FCKeditor ID="txtContent" ToolbarStartExpanded="false" runat="server"
                                    BasePath="~/fckeditor/" Width="600px" Height="500px">
                                </FCKeditorV2:FCKeditor>
                            </td>
                        </tr>
                    </table>
                </div> 
                    <table class="toolbar" cellspacing="1" cellpadding="1">        
                        <tr>
                            <td class="holder">
                               
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtParent" runat="server" CssClass="txtEL" 
                                     TextMode="MultiLine" Width="600px" Height="20px" Visible="false"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="toolbar btnLuu" colspan="2">
                                <img src="Images/edit.gif" width="16px" height="16px" />
                                <asp:LinkButton ID="cmdLuu" BorderColor="red" runat="server" Text="Lưu" ValidationGroup="CategoryGroup"
                                    OnClick="cmdLuu_Click"></asp:LinkButton>
                            </td>
                        </tr>
                    </table>
                
            </td>
        </tr>
    </table>
<%--</div>--%>